package com.lj.universalframework.ui.viewModel


import androidx.lifecycle.MutableLiveData
import com.lj.universalframework.base.Item
import com.lj.universalframework.http.RequestViewModel

class Main2ViewModel : RequestViewModel() {


    var datas: MutableLiveData<List<Item>> = MutableLiveData()

    fun getOrderByPhone(){
        var items= arrayListOf<Item>()
        for (i in 0..10){
            items.add(Item("第${i}条数据","https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=2498154128,3084807222&fm=26&gp=0.jpg"))
        }
        datas.value=items;
    }
}